package com.hmsproject.search.bean;

import java.util.Date;

public class PlaceBean {
	
	
	private String placeName;
	
	private Date currentDate= new Date();
	
	private Date fromDate=currentDate;
	
	private Date toDate=currentDate;
	
	private int noOfPerson;

	public String getPlaceName() {
		return placeName;
	}

	public void setPlaceName(String placeName) {
		this.placeName = placeName;
	}

	public Date getFromDate() {
		return fromDate;
	}

	public void setFromDate(Date fromDate) {
		this.fromDate = fromDate;
	}

	public Date getToDate() {
		return toDate;
	}

	public void setToDate(Date toDate) {
		this.toDate = toDate;
	}

	public int getNoOfPerson() {
		return noOfPerson;
	}

	public void setNoOfPerson(int noOfPerson) {
		this.noOfPerson = noOfPerson;
	}
	
	public Date getCurrentDate() {
		return currentDate;
	}

    @Override
    public String toString() {
    	return "Place ::"+this.placeName+" Date ::"+this.fromDate+"-"+this.toDate+" No of person ::"+this.noOfPerson;
    }
}
